package com.movie.ticket.sale.movieassembly.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.connection.RedisConnectionFactory;
import org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory;
import org.springframework.data.redis.repository.configuration.EnableRedisRepositories;

@Configuration
@EnableRedisRepositories
public class RedisRepoConfig {
//    @Bean
//    public RedisConnectionFactory redisConnectionFactory(){
//        return new LettuceConnectionFactory();
//    }
//    @Bean
//    public RedisTemplate<?,?>redisTemplate(){
//        RedisTemplate<byte[],byte[]>template=new RedisTemplate<>();
//        return  template;
//    }
}
